package particle;

import javafx.scene.Group;

public class ParticleBatchNode extends Group {

	private ParticleNode[] nodeArray;
	
	public ParticleBatchNode(int number){
		nodeArray = new ParticleNode[number];
		for(int i = 0;i<number;i++) {
			nodeArray[i] = new ParticleNode();
		}
	}
	
	public void addChild(ParticleNode node){
		this.getChildren().add(node.viewQuad);
	}
	
	public void removeChild(ParticleNode node){
	}
	
	public void removeByIndex(int index){
	}
	
	public ParticleNode[] getNodes() {
		return nodeArray;
	} 
}
